package com.itheima.tlias84.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 分页查询的响应数据
 */
@Data
public class SelectClazzDetailDTO {

    private int id;
    private String name;
    private String room;
    private LocalDate beginDate;
    private LocalDate endDate;

    private String masterName;
    private Integer subject;
    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分ss秒")
    private LocalDateTime updateTime;

}
